package com.edu.tool.exception;

public class BaseException extends RuntimeException{
    private String code;//状态码

    public BaseException(String code,String message) {
        super(message);
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}